package com.aidex.system.domain;

import com.aidex.common.annotation.Excel;
import com.aidex.common.core.domain.BaseEntity;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;

@Data
@EqualsAndHashCode(callSuper = true)
@Api(tags = "通知公告用户阅读")
public class SysNoticeUserRead extends BaseEntity {

    @ApiModelProperty("通知公告ID")
    @Excel(name = "通知公告ID")
    @NotBlank(message = "通知公告ID不允许为空")
    private String noticeId;

    /**
     * 系统用户id
     */
    @ApiModelProperty("系统用户ID")
    @Excel(name = "系统用户ID")
    @NotBlank(message = "系统用户ID不允许为空")
    private String userId;

    @ApiModelProperty("是否已读")
    @Excel(name = "是否已读，仅在制定通知接收人时使用")
    private String isRead;

    /**
     * 状态
     */
    @ApiModelProperty("状态")
    @Excel(name = "状态")
    @NotBlank(message = "状态不允许为空")
    private String status;
}
